<?php
include_once (dirname(__FILE__) . "/../../includes/init.php");

global $smarty;

$article_id = intval($_REQUEST['article_id']);
if ($article_id > 0) {
	$sql = "select * from article where article_id = '{$article_id}'";
	$article = $db->getRow($sql);
	$smarty->assign("article", $article);
}

$smarty->display("admin/article/edit.html");